<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'newFileDIR.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<LINK href="<%=basePath%>css/folder.css" type="text/css"
	rel="stylesheet">

<script Language="JavaScript">
function CheckForm()
{
   if(document.form1.SORT_NAME.value=="")
   { alert("文件夹名称不能为空！");
     return (false);
   }
   return (true);
}
</script>
</head>

<body>
<body class="bodycolor" topmargin="0"
	onload="document.form1.fileName.focus();">

<table border="0" width="100%" cellspacing="0" cellpadding="3"
	class="small">
	<tr>
		<td class="Big"><img src="<%=basePath%>img/file/folder_new.gif"
			align="absmiddle"><b><span class="Big1"> 新建子文件夹</span></b></td>
	</tr>
</table>

<br>
<table border="0" width="100%" cellspacing="0" cellpadding="3"
	class="small">
	<tr>
		<td class="Big"><img src="<%=basePath%>img/file/notify_open.gif"
			align="absmiddle"><b><span class="Big1">
		${courseName } </span></b><br>
		</td>
	</tr>
</table>
<c:choose>
	<c:when test="${sign eq 'y' }">
		<form
			action="homeWorkServlet?action=newCourseDIR2&stuClassID=${stuClassID }"
			method="post" name="form1" onsubmit="return CheckForm();">
	</c:when>
	<c:otherwise>
		<form
			action="homeWorkServlet?action=newCourseDIR&courseID=${courseID }"
			method="post" name="form1" onsubmit="return CheckForm();">
	</c:otherwise>
</c:choose>

<table class="TableBlock" width="450" align="center">
	<tr>
		<td nowrap class="TableData">文件夹名称：</td>
		<td class="TableData"><input type="text" name="fileName"
			size="25" maxlength="100" class="BigInput"></td>
	</tr>
	<tr align="center" class="TableControl">
		<td colspan="2" nowrap><input type="submit" value="确定"
			class="BigButton">&nbsp;&nbsp; <input type="button"
			value="返回" class="BigButton" onClick="history.back();"></td>
	</tr>
</table>
</form>

</body>
</html>
